package com.bbzn.device.client.service;

import com.bbzn.device.client.dataobject.Strategy;
import java.util.List;

public interface StrategyService {


    int deleteByPrimaryKey(Integer id);

    int insert(Strategy record);

    int insertOrUpdate(Strategy record);

    int insertOrUpdateSelective(Strategy record);

    int insertSelective(Strategy record);

    Strategy selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Strategy record);

    int updateByPrimaryKey(Strategy record);

    List<Strategy> findByAll(Strategy strategy);

    int updateBatch(List<Strategy> list);

    int updateBatchSelective(List<Strategy> list);

    int batchInsert(List<Strategy> list);

    Strategy getStrategy(Strategy strategy);

    Strategy findOneByChannelCode(Long channelCode);
}

